package com.juyu.miliao.common.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

/**
 * 积分账单明细
 * @author xuanqicheng
 */
@Data
public class BillDetailIntegral {

    private Integer id;

    private Long userId;
    /**
     *
     */
    private Integer integralRewardsPunishmentsType;
    /**
     * 积分值：负数表示减少，正数表示增加
     */
    private Long integralValue;
    /**
     * 创建时间
     */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private LocalDateTime createTime;

    /**
     * 创建日期
     */
    private LocalDate createDate;
}
